﻿<Application xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
             xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
             xmlns:d="http://schemas.microsoft.com/expression/blend/2008" 
             xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
             xmlns:System="clr-namespace:System;assembly=mscorlib"
             xmlns:constants1="clr-namespace:AlanAamy.Net.TemperatureConverter.Infrastructure.Constants"
             xmlns:mvvm="clr-namespace:AlanAamy.Net.TemperatureConverter.Infrastructure.Frameworks.MVVM"
             xmlns:converters="clr-namespace:AlanAamy.Net.TemperatureConverter.Infrastructure.Converters"
             mc:Ignorable="d"              
             StartupUri="Views/MainWindow.xaml">
    <Application.Resources>
        <ResourceDictionary>
            <ResourceDictionary.MergedDictionaries>
                <ResourceDictionary Source="Infrastructure/Resources/ComboBoxStyle.xaml"/>
                <ResourceDictionary Source="Infrastructure/Resources/ExpanderStyle.xaml"/>
            </ResourceDictionary.MergedDictionaries>
            <!--Global View Model Locator-->
            <mvvm:ViewModelLocator x:Key="Locator" d:IsDataSource="True" />
            <converters:EnumDescriptionConverter x:Key="EnumDescriptionConverter"/>
            <!--<converters:MultiplyConverter x:Key="MultiplyConverter"/>-->
            <converters:StringConverter x:Key="StringConverter"/>
            <ObjectDataProvider MethodName="GetValues" ObjectType="{x:Type System:Enum}" x:Key="TemperatureUnits">
                <ObjectDataProvider.MethodParameters>
                    <x:Type TypeName="constants1:TemperatureUnit" />
                </ObjectDataProvider.MethodParameters>
            </ObjectDataProvider>
            <converters:MultiplyConverter x:Key="MultiplyConverter" />

        </ResourceDictionary>
    </Application.Resources>
</Application>
